import service from '@/utils/request'

export const createServiceStation = (data) => {
  return service({ url: '/user/createServiceStation', method: 'post', data })
}

export const updateServiceStation = (data) => {
  return service({ url: '/user/updateServiceStation', method: 'put', data })
}

export const toggleServiceStationEnable = (data) => {
  return service({ url: '/user/toggleServiceStationEnable', method: 'put', data })
}

export const deleteServiceStation = (data) => {
  return service({ url: '/user/deleteServiceStation', method: 'delete', data })
}

export const getStationDetail = (data) => {
  return service({ url: '/user/getStationDetail', method: 'post', data })
}

export const getStationList = (data) => {
  return service({ url: '/user/getStationList', method: 'post', data })
}

